package com.atguigu.javadevopsdemo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author caodan
 * @version 1.0
 * @date 2022/4/17 23:14
 */
@RestController
@Slf4j
public class HelloController {


    @GetMapping("/hello")
    public String hello() {
        log.info("hello world");
        return "hello jenkins";
    }


    @GetMapping("/world")
    public String world() {
        log.info("hello world");
        return "hello world";
    }


    @GetMapping("/helloworld")
    public String helloworld() {
        log.info("hello world");
        return "hello world";
    }


    @GetMapping("/helloworld1")
    public String helloworld1() {
        log.info("hello world1");
        return "hello world1";
    }

    @GetMapping("/helloworld2")
    public String helloworld2() {
        log.info("hello world2");
        return "hello world2";
    }

    @GetMapping("/helloworld3")
    public String helloworld3() {
        log.info("hello world3");
        return "hello world3";
    }

    @GetMapping("/helloworld4")
    public String helloworld4() {
        log.info("hello world4");
        return "hello world4";
    }
}
